<?php
/**
 * Created by PhpStorm.
 * User: lhl
 * Date: 2020/12/16
 * Time: 18:06
 * Features:授权管理
 */

namespace app\adminapiv3\validate;


use think\Validate;

class ServerAuthValidate extends Validate
{
    //验证规则
    protected $rule = [
        'key|序列号' => 'require',
    ];

    //验证场景
    protected $scene = [
        //在线注册
        'online' => ['key'],
    ];

}